<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
    <head>
        <title>Title</title>
    </head>
    <body>
    
        <%@ include file="/emp/navigation.jsp"%>
    
        <h1>添加员工</h1>
        <hr/>

        <form action="${pageContext.request.contextPath}/add.emp" method="post">
            姓名：<input type="text" name="name"/><br/>
            工资：<input type="password" name="salary"/><br/>
            性别：<input type="radio" name="sex" value="1"/>男
            <input type="radio" name="sex" value="0"/>女<br/>
            学历：<select name="edu">
            <option value="0">---请选择---</option>
            <option value="1">高中</option>
            <option value="2">专科</option>
            <option value="3">本科</option>
        </select><br/>
            爱好：<input type="checkbox" name="hobbies" value="1"/>吃
            <input type="checkbox" name="hobbies" value="2"/>玩
            <input type="checkbox" name="hobbies" value="3"/>睡<br/>
            简介：<textarea rows="5" cols="20" name="description"></textarea><br/>
            <input type="submit" value="添加"/>
        </form>

    </body>
</html>
